/*! 已废弃，请引入index.css */

@import url('http://at.alicdn.com/t/font_1476693606_3315537.css');
@import url('./normalize.css');
/*ETUI_V3.0*/

html {
    font-size: 20px;
}


/* 4s */

@media only screen and (min-width: 320px) {
    html {
        font-size: 17.06666667px !important;
    }
}


/* 5/5s/6/6s/7/8 */

@media only screen and (min-width: 375px) {
    html {
        font-size: 20px !important;
    }
}

@media only screen and (min-width: 400px) {
    html {
        font-size: 21.33333333px !important;
    }
}


/* iphone plus */

@media only screen and (min-width: 414px) {
    html {
        font-size: 22.08px !important;
    }
}

@media only screen and (min-width: 480px) {
    html {
        font-size: 25.6px !important;
    }
}

@media only screen and (min-width: 640px) {
    html {
        font-size: 34.13333333px !important;
    }
}

@media only screen and (min-width: 720px) {
    html {
        font-size: 38.4px !important;
    }
}
body {
    /*position: absolute;*/
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    font-family: "Helvetica Neue", Helvetica, sans-serif;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #3d4145;
    background: #f3f3f3;
    /*overflow: hidden;*/
}

.ui-content {
    -webkit-overflow-scrolling: touch;
}

/* cells */

.ui-cell,
.ui-cell-noborder {
    position: relative;
    padding: .5rem .75rem;
}

.ui-cell:before,
.ui-cell:before,
.ui-cell-nopadding:before,
.ui-cell-noborder:before {
    content: " ";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 1px;
    border-top: 1px solid transparent;
    -webkit-transform-origin: 0 0;
    -ms-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: scaleY(0.5);
    -ms-transform: scaleY(0.5);
    transform: scaleY(0.5);
}

.ui-cell:first-child:before,
.ui-cell-nopadding:first-child:before {
    display: none;
}

.ui-cell:before,
a.ui-cell:before,
.ui-cell-nopadding:before {
    border-top: 1px solid #D9D9D9;
}

.ui-cell,
.ui-cell-nopadding,
.ui-cell-noborder {
    position: relative;
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.ui-cell-lt {
    -webkit-align-self: flex-start;
    -moz-align-self: flex-start;
    align-self: flex-start;
}

.ui-cell-ft,
.ui-cell-rd {
    text-align: right;
    color: #aaa;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.ui-cell-primary {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.ui-cell-center {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    width: 100%;
    text-align: center;
}

.ui-cell-center img {
    width: 100%;
    height: 100%;
    display: block;
}

.ui-cell-number {
    background-color: #D8D8D8;
    color: #FFF;
    border-radius: 10px;
    display: inline-block;
    padding: 0 .5rem;
    font-size: .6rem;
}

.ui-cell-number-color {
    background-color: #F00;
}

.ui-cells {
    margin-top: .5rem;
    background-color: #FFFFFF;
    line-height: 1.41176471;
    font-size: .8rem;
    overflow: hidden;
    position: relative;
}

.ui-cells:after {
    content: " ";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    border-bottom: 1px solid #D9D9D9;
    -webkit-transform-origin: 0 100%;
    -ms-transform-origin: 0 100%;
    transform-origin: 0 100%;
    -webkit-transform: scaleY(0.5);
    -ms-transform: scaleY(0.5);
    transform: scaleY(0.5);
}

.ui-cells-title {
    margin-top: .75rem;
    margin-bottom: .75rem;
    padding-left: .75rem;
    padding-right: .75rem;
    color: #888;
    font-size: .9rem;
}

.ui-cells-tips {
    color: #888;
    font-size: .7rem;
    margin-top: .25rem;
    text-align: center;
}

.ui-cells-title+.ui-cells {
    margin-top: 0;
}

.ui-cells-tips {
    margin-top: .25rem;
    color: #888;
    text-align: center;
    font-size: .7rem;
}

.ui-cells-access .ui-cell:not(.no_access) {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.ui-cells-access .ui-cell:not(.no_access):active {
    background-color: #ECECEC;
}

.ui-cells-access a.ui-cell {
    color: inherit;
}

.ui-cells-access .ui-cell-ft:after,
.ui-cells-access .ui-cell-rd:after {
    font-family: "etui_iconfont";
    font-size: 18px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    position: relative;
}

.ui-cells-access .ui-cell-ft:after {
    content: "";
}

.ui-cells-access .ui-cell-rd:after {
    content: "\e608";
}
/* icon */
.ui-icon {
    font-family: "etui_iconfont";
    font-style: normal;
    display: inline-block;
    vertical-align: middle;
    background-size: 100% auto;
    background-position: center;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
}


/* 文字截断 */

.ui-nowrap,
.ui-nowrap-flex,
.ui-nowrap-2,
.ui-nowrap-3 {
    overflow: hidden;
    text-overflow: ellipsis;
}

.ui-nowrap {
    max-width: 100%;
    white-space: nowrap;
}

.ui-nowrap-flex,
.ui-nowrap-2,
.ui-nowrap-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.ui-nowrap-flex {
    -webkit-line-clamp: 1;
    -webkit-box-flex: 1;
    height: inherit;
}


/*要截断的行数*/

.ui-nowrap-2 {
    -webkit-line-clamp: 2;
}

.ui-nowrap-3 {
    -webkit-line-clamp: 3;
}


/***** 定位 *****/

.ui-abs-box,
.ui-abs-box>a,
.ui-abs-box>div,
.ui-abs {
    position: absolute;
    /*border: 1px solid #f00;*/
}

.ui-abs-center {
    position: absolute;
    /*border: 1px solid #f00;*/
    left: 0;
    right: 0;
    margin: auto;
}


/*居中*/

.ui-abs-right {
    position: absolute;
    right: 0;
}


/*右上*/

.ui-abs-rt {
    top: 0;
    left: 0;
}


/*右下*/

.ui-abs-rb {
    bottom: 0;
    right: 0;
}


/*左下*/

.ui-abs-lb {
    bottom: 0;
    left: 0;
}